<template>
    <div>
        <p>反组件当的值：{{ number }}</p>
        <CustonsubComponet @update-count="updateEmitCount"/> "Custon":Unknow
    </div>  
    </template>   

<script setup>
import CustonSubComponent from "CustonSubcompnent.vue";
import {ref} from 'vue';
const number = ref(10);
const updataEmiCount = (value) => {
    number.value += value;
}
</script>